package com.sxxm.qxgl.dto;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.List;

@Data
public class SysDept {
    @ApiModelProperty(value = "主键")
    private Integer deptId;

    @ApiModelProperty(value = "部门名称")
    private String name;

    @ApiModelProperty(value = "部门负责人")
    private String leader;

    @ApiModelProperty(value = "排序码")
    private int sortCode;

    @ApiModelProperty(value = "上级部门Id，自引用")
    private Integer parentId;

    @ApiModelProperty(value = "部门状态（0正常 1停用）")
    private String status;

    @ApiModelProperty(value = "删除标志（0:否 1:是）")
    private String isDeleted;

    @ApiModelProperty(value = "创建时间")
    private String createTime;

    @ApiModelProperty(value = "子模块")
    private List<SysDept> children;
}
